
<div class="breadcrumbs"> 
	<span><a href="<?php echo category_url($parent_cate->cat_code); ?>" title="<?php echo $parent_cate->cat_name; ?>"><?php echo $parent_cate->cat_name; ?></a>
		&gt; <?php echo $cate->cat_name; ?>
		
	</span> 
</div>
<?php load_widgets('mid'); ?>
<div class="archive_view">
	<h2 class="cat_title">
		<span class="<?php if (isset($topview ) && $topview) echo 'hive'; ?>"><a href="<?php echo category_url($cate->cat_code); ?>">Game <?php echo $cate->cat_name; ?> mới</a></span>
		<span class="<?php if (!(isset($topview ) && $topview)) echo 'hive'; ?>"><a href="<?php echo category_url($cate->cat_code, 0, 'topview'); ?>" style="color:#666">Game <?php echo $cate->cat_name; ?> chơi nhiều nhất</a></span>
	</h1>
	<div class="clear" style="height:10px"></div>
	<div class="childcate">
		<ul>
		<?php 
		$count = 0;
		if (isset($games) && $games) {
			foreach ($games as $game ) {
				if ($count >= 6) {
					echo "</ul><ul>";
					$count  = 0;
				}
				$count ++;
		?>
			<li>
				<?php $this->load->view('frontend/box/game', array('game'=> $game)); ?>
			</li>
				
		<?php 
			}
		}
			?>
				
			<div class="clear"></div>
			</ul>
	</div>
	<div class="clear"></div>
</div>

<style type="text/css">
	.title span.hive, h1 span.hive ,  h2 span.hive {
		background: none !important;
		font-weight: 100;
		color: #4c66a4 !important;
	}
</style>